const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  avatar: state => state.user.avatar,
  nickName: state => state.user.nickName,
  user: state => state.user.user,
  username: state => state.user.username,
  roles: state => state.user.roles,
  addRouters: state => state.permission.addRouters,
  routers: state => state.permission.routers,
  allResource: state => state.permission.allResource
}
export default getters
